package com.ken.work.mvc.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/*
 * @author ken
 * 2017-02-16
 *自定义注释，跳转路径和请求方式
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD,ElementType.TYPE})
public @interface MyRequestMapping {
	String value();
	RequestType requestType() default RequestType.GET;
	Class paramCls() default Object.class;
}
